﻿package mortal.game.view.active11
{
    import mortal.game.resource.*;

    public class Active11TabData extends Object
    {
        public var type:int;
        public var className:Class;
        public static var Active11Login:int = 1;
        public static var Active11Exp:int = 2;
        public static var Active11Card:int = 3;
        public static var Active11Word:int = 4;

        public function Active11TabData(param1:int, param2:Class)
        {
            this.type = param1;
            this.className = param2;
            return;
        }// end function

        public function getImageHead() : String
        {
            switch(this.type)
            {
                case Active11Login:
                {
                    return ImagesConst.Active11TabLogin;
                }
                case Active11Exp:
                {
                    return ImagesConst.Active11TabExp;
                }
                case Active11Card:
                {
                    return ImagesConst.Active11TabCard;
                }
                case Active11Word:
                {
                    return ImagesConst.Active11TabWord;
                }
                default:
                {
                    break;
                }
            }
            return ImagesConst.Active11TabLogin;
        }// end function

    }
}
